.class public Lroboguice/activity/RoboListActivity;
.super Landroid/app/ListActivity;
.source "RoboListActivity.java"

# interfaces
.implements Lroboguice/inject/InjectorProvider;


# instance fields
.field protected a:Lroboguice/event/EventManager;

.field protected b:Lroboguice/inject/ContextScope;


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 41
    invoke-direct {p0}, Landroid/app/ListActivity;-><init>()V

    return-void
.end method


# virtual methods
.method public a()Lcom/google/inject/Injector;
    .locals 1

    .prologue
    .line 169
    invoke-virtual {p0}, Lroboguice/activity/RoboListActivity;->getApplication()Landroid/app/Application;

    move-result-object p0

    check-cast p0, Lroboguice/application/RoboApplication;

    invoke-virtual {p0}, Lroboguice/application/RoboApplication;->a()Lcom/google/inject/Injector;

    move-result-object v0

    return-object v0
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 2
    .parameter
    .parameter
    .parameter

    .prologue
    .line 155
    invoke-super {p0, p1, p2, p3}, Landroid/app/ListActivity;->onActivityResult(IILandroid/content/Intent;)V

    .line 156
    iget-object v0, p0, Lroboguice/activity/RoboListActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v0, p0}, Lroboguice/inject/ContextScope;->a(Landroid/content/Context;)V

    .line 158
    :try_start_0
    iget-object v0, p0, Lroboguice/activity/RoboListActivity;->a:Lroboguice/event/EventManager;

    new-instance v1, Lroboguice/activity/event/OnActivityResultEvent;

    invoke-direct {v1, p1, p2, p3}, Lroboguice/activity/event/OnActivityResultEvent;-><init>(IILandroid/content/Intent;)V

    invoke-virtual {v0, v1}, Lroboguice/event/EventManager;->a(Ljava/lang/Object;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 160
    iget-object v0, p0, Lroboguice/activity/RoboListActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v0, p0}, Lroboguice/inject/ContextScope;->b(Landroid/content/Context;)V

    .line 162
    return-void

    .line 160
    :catchall_0
    move-exception v0

    iget-object v1, p0, Lroboguice/activity/RoboListActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v1, p0}, Lroboguice/inject/ContextScope;->b(Landroid/content/Context;)V

    throw v0
.end method

.method public onConfigurationChanged(Landroid/content/res/Configuration;)V
    .locals 3
    .parameter

    .prologue
    .line 142
    invoke-virtual {p0}, Lroboguice/activity/RoboListActivity;->getResources()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/res/Resources;->getConfiguration()Landroid/content/res/Configuration;

    move-result-object v0

    .line 143
    invoke-super {p0, p1}, Landroid/app/ListActivity;->onConfigurationChanged(Landroid/content/res/Configuration;)V

    .line 144
    iget-object v1, p0, Lroboguice/activity/RoboListActivity;->a:Lroboguice/event/EventManager;

    new-instance v2, Lroboguice/activity/event/OnConfigurationChangedEvent;

    invoke-direct {v2, v0, p1}, Lroboguice/activity/event/OnConfigurationChangedEvent;-><init>(Landroid/content/res/Configuration;Landroid/content/res/Configuration;)V

    invoke-virtual {v1, v2}, Lroboguice/event/EventManager;->a(Ljava/lang/Object;)V

    .line 145
    return-void
.end method

.method public onContentChanged()V
    .locals 2

    .prologue
    .line 149
    invoke-super {p0}, Landroid/app/ListActivity;->onContentChanged()V

    .line 150
    iget-object v0, p0, Lroboguice/activity/RoboListActivity;->a:Lroboguice/event/EventManager;

    new-instance v1, Lroboguice/activity/event/OnContentChangedEvent;

    invoke-direct {v1}, Lroboguice/activity/event/OnContentChangedEvent;-><init>()V

    invoke-virtual {v0, v1}, Lroboguice/event/EventManager;->a(Ljava/lang/Object;)V

    .line 151
    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 2
    .parameter

    .prologue
    .line 47
    invoke-virtual {p0}, Lroboguice/activity/RoboListActivity;->a()Lcom/google/inject/Injector;

    move-result-object v1

    .line 48
    const-class v0, Lroboguice/event/EventManager;

    invoke-interface {v1, v0}, Lcom/google/inject/Injector;->getInstance(Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lroboguice/event/EventManager;

    iput-object v0, p0, Lroboguice/activity/RoboListActivity;->a:Lroboguice/event/EventManager;

    .line 49
    const-class v0, Lroboguice/inject/ContextScope;

    invoke-interface {v1, v0}, Lcom/google/inject/Injector;->getInstance(Ljava/lang/Class;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lroboguice/inject/ContextScope;

    iput-object v0, p0, Lroboguice/activity/RoboListActivity;->b:Lroboguice/inject/ContextScope;

    .line 50
    iget-object v0, p0, Lroboguice/activity/RoboListActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v0, p0}, Lroboguice/inject/ContextScope;->a(Landroid/content/Context;)V

    .line 51
    invoke-interface {v1, p0}, Lcom/google/inject/Injector;->injectMembers(Ljava/lang/Object;)V

    .line 52
    invoke-super {p0, p1}, Landroid/app/ListActivity;->onCreate(Landroid/os/Bundle;)V

    .line 53
    iget-object v0, p0, Lroboguice/activity/RoboListActivity;->a:Lroboguice/event/EventManager;

    new-instance v1, Lroboguice/activity/event/OnCreateEvent;

    invoke-direct {v1, p1}, Lroboguice/activity/event/OnCreateEvent;-><init>(Landroid/os/Bundle;)V

    invoke-virtual {v0, v1}, Lroboguice/event/EventManager;->a(Ljava/lang/Object;)V

    .line 54
    return-void
.end method

.method protected onDestroy()V
    .locals 2

    .prologue
    .line 129
    iget-object v0, p0, Lroboguice/activity/RoboListActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v0, p0}, Lroboguice/inject/ContextScope;->a(Landroid/content/Context;)V

    .line 131
    :try_start_0
    iget-object v0, p0, Lroboguice/activity/RoboListActivity;->a:Lroboguice/event/EventManager;

    new-instance v1, Lroboguice/activity/event/OnDestroyEvent;

    invoke-direct {v1}, Lroboguice/activity/event/OnDestroyEvent;-><init>()V

    invoke-virtual {v0, v1}, Lroboguice/event/EventManager;->a(Ljava/lang/Object;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 133
    iget-object v0, p0, Lroboguice/activity/RoboListActivity;->a:Lroboguice/event/EventManager;

    invoke-virtual {v0, p0}, Lroboguice/event/EventManager;->a(Landroid/content/Context;)V

    .line 134
    iget-object v0, p0, Lroboguice/activity/RoboListActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v0, p0}, Lroboguice/inject/ContextScope;->b(Landroid/content/Context;)V

    .line 135
    iget-object v0, p0, Lroboguice/activity/RoboListActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v0, p0}, Lroboguice/inject/ContextScope;->c(Landroid/content/Context;)V

    .line 136
    invoke-super {p0}, Landroid/app/ListActivity;->onDestroy()V

    .line 138
    return-void

    .line 133
    :catchall_0
    move-exception v0

    iget-object v1, p0, Lroboguice/activity/RoboListActivity;->a:Lroboguice/event/EventManager;

    invoke-virtual {v1, p0}, Lroboguice/event/EventManager;->a(Landroid/content/Context;)V

    .line 134
    iget-object v1, p0, Lroboguice/activity/RoboListActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v1, p0}, Lroboguice/inject/ContextScope;->b(Landroid/content/Context;)V

    .line 135
    iget-object v1, p0, Lroboguice/activity/RoboListActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v1, p0}, Lroboguice/inject/ContextScope;->c(Landroid/content/Context;)V

    .line 136
    invoke-super {p0}, Landroid/app/ListActivity;->onDestroy()V

    throw v0
.end method

.method protected onNewIntent(Landroid/content/Intent;)V
    .locals 2
    .parameter

    .prologue
    .line 111
    invoke-super {p0, p1}, Landroid/app/ListActivity;->onNewIntent(Landroid/content/Intent;)V

    .line 112
    iget-object v0, p0, Lroboguice/activity/RoboListActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v0, p0}, Lroboguice/inject/ContextScope;->a(Landroid/content/Context;)V

    .line 113
    iget-object v0, p0, Lroboguice/activity/RoboListActivity;->a:Lroboguice/event/EventManager;

    new-instance v1, Lroboguice/activity/event/OnNewIntentEvent;

    invoke-direct {v1}, Lroboguice/activity/event/OnNewIntentEvent;-><init>()V

    invoke-virtual {v0, v1}, Lroboguice/event/EventManager;->a(Ljava/lang/Object;)V

    .line 114
    return-void
.end method

.method protected onPause()V
    .locals 2

    .prologue
    .line 105
    invoke-super {p0}, Landroid/app/ListActivity;->onPause()V

    .line 106
    iget-object v0, p0, Lroboguice/activity/RoboListActivity;->a:Lroboguice/event/EventManager;

    new-instance v1, Lroboguice/activity/event/OnPauseEvent;

    invoke-direct {v1}, Lroboguice/activity/event/OnPauseEvent;-><init>()V

    invoke-virtual {v0, v1}, Lroboguice/event/EventManager;->a(Ljava/lang/Object;)V

    .line 107
    return-void
.end method

.method protected onRestart()V
    .locals 2

    .prologue
    .line 84
    iget-object v0, p0, Lroboguice/activity/RoboListActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v0, p0}, Lroboguice/inject/ContextScope;->a(Landroid/content/Context;)V

    .line 85
    invoke-super {p0}, Landroid/app/ListActivity;->onRestart()V

    .line 86
    iget-object v0, p0, Lroboguice/activity/RoboListActivity;->a:Lroboguice/event/EventManager;

    new-instance v1, Lroboguice/activity/event/OnRestartEvent;

    invoke-direct {v1}, Lroboguice/activity/event/OnRestartEvent;-><init>()V

    invoke-virtual {v0, v1}, Lroboguice/event/EventManager;->a(Ljava/lang/Object;)V

    .line 87
    return-void
.end method

.method protected onResume()V
    .locals 2

    .prologue
    .line 98
    iget-object v0, p0, Lroboguice/activity/RoboListActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v0, p0}, Lroboguice/inject/ContextScope;->a(Landroid/content/Context;)V

    .line 99
    invoke-super {p0}, Landroid/app/ListActivity;->onResume()V

    .line 100
    iget-object v0, p0, Lroboguice/activity/RoboListActivity;->a:Lroboguice/event/EventManager;

    new-instance v1, Lroboguice/activity/event/OnResumeEvent;

    invoke-direct {v1}, Lroboguice/activity/event/OnResumeEvent;-><init>()V

    invoke-virtual {v0, v1}, Lroboguice/event/EventManager;->a(Ljava/lang/Object;)V

    .line 101
    return-void
.end method

.method public onRetainNonConfigurationInstance()Ljava/lang/Object;
    .locals 0

    .prologue
    .line 79
    return-object p0
.end method

.method protected onStart()V
    .locals 2

    .prologue
    .line 91
    iget-object v0, p0, Lroboguice/activity/RoboListActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v0, p0}, Lroboguice/inject/ContextScope;->a(Landroid/content/Context;)V

    .line 92
    invoke-super {p0}, Landroid/app/ListActivity;->onStart()V

    .line 93
    iget-object v0, p0, Lroboguice/activity/RoboListActivity;->a:Lroboguice/event/EventManager;

    new-instance v1, Lroboguice/activity/event/OnStartEvent;

    invoke-direct {v1}, Lroboguice/activity/event/OnStartEvent;-><init>()V

    invoke-virtual {v0, v1}, Lroboguice/event/EventManager;->a(Ljava/lang/Object;)V

    .line 94
    return-void
.end method

.method protected onStop()V
    .locals 2

    .prologue
    .line 118
    iget-object v0, p0, Lroboguice/activity/RoboListActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v0, p0}, Lroboguice/inject/ContextScope;->a(Landroid/content/Context;)V

    .line 120
    :try_start_0
    iget-object v0, p0, Lroboguice/activity/RoboListActivity;->a:Lroboguice/event/EventManager;

    new-instance v1, Lroboguice/activity/event/OnStopEvent;

    invoke-direct {v1}, Lroboguice/activity/event/OnStopEvent;-><init>()V

    invoke-virtual {v0, v1}, Lroboguice/event/EventManager;->a(Ljava/lang/Object;)V
    :try_end_0
    .catchall {:try_start_0 .. :try_end_0} :catchall_0

    .line 122
    iget-object v0, p0, Lroboguice/activity/RoboListActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v0, p0}, Lroboguice/inject/ContextScope;->b(Landroid/content/Context;)V

    .line 123
    invoke-super {p0}, Landroid/app/ListActivity;->onStop()V

    .line 125
    return-void

    .line 122
    :catchall_0
    move-exception v0

    iget-object v1, p0, Lroboguice/activity/RoboListActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v1, p0}, Lroboguice/inject/ContextScope;->b(Landroid/content/Context;)V

    .line 123
    invoke-super {p0}, Landroid/app/ListActivity;->onStop()V

    throw v0
.end method

.method public setContentView(I)V
    .locals 2
    .parameter

    .prologue
    .line 58
    invoke-super {p0, p1}, Landroid/app/ListActivity;->setContentView(I)V

    .line 59
    iget-object v0, p0, Lroboguice/activity/RoboListActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v0}, Lroboguice/inject/ContextScope;->a()V

    .line 60
    iget-object v0, p0, Lroboguice/activity/RoboListActivity;->a:Lroboguice/event/EventManager;

    new-instance v1, Lroboguice/activity/event/OnContentViewAvailableEvent;

    invoke-direct {v1}, Lroboguice/activity/event/OnContentViewAvailableEvent;-><init>()V

    invoke-virtual {v0, v1}, Lroboguice/event/EventManager;->a(Ljava/lang/Object;)V

    .line 61
    return-void
.end method

.method public setContentView(Landroid/view/View;)V
    .locals 2
    .parameter

    .prologue
    .line 72
    invoke-super {p0, p1}, Landroid/app/ListActivity;->setContentView(Landroid/view/View;)V

    .line 73
    iget-object v0, p0, Lroboguice/activity/RoboListActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v0}, Lroboguice/inject/ContextScope;->a()V

    .line 74
    iget-object v0, p0, Lroboguice/activity/RoboListActivity;->a:Lroboguice/event/EventManager;

    new-instance v1, Lroboguice/activity/event/OnContentViewAvailableEvent;

    invoke-direct {v1}, Lroboguice/activity/event/OnContentViewAvailableEvent;-><init>()V

    invoke-virtual {v0, v1}, Lroboguice/event/EventManager;->a(Ljava/lang/Object;)V

    .line 75
    return-void
.end method

.method public setContentView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V
    .locals 2
    .parameter
    .parameter

    .prologue
    .line 65
    invoke-super {p0, p1, p2}, Landroid/app/ListActivity;->setContentView(Landroid/view/View;Landroid/view/ViewGroup$LayoutParams;)V

    .line 66
    iget-object v0, p0, Lroboguice/activity/RoboListActivity;->b:Lroboguice/inject/ContextScope;

    invoke-virtual {v0}, Lroboguice/inject/ContextScope;->a()V

    .line 67
    iget-object v0, p0, Lroboguice/activity/RoboListActivity;->a:Lroboguice/event/EventManager;

    new-instance v1, Lroboguice/activity/event/OnContentViewAvailableEvent;

    invoke-direct {v1}, Lroboguice/activity/event/OnContentViewAvailableEvent;-><init>()V

    invoke-virtual {v0, v1}, Lroboguice/event/EventManager;->a(Ljava/lang/Object;)V

    .line 68
    return-void
.end method
